<template>
  <div>
    <div>
      <div v-if="pageView == 1">
        <ModelList />
      </div>
      <div v-else>
        {{ test }}
      </div>
    </div>
  </div>
</template>

<script>
import ModelList from "./ModelList.vue"

export default {
  components: {
    ModelList,
  },
  data() {
    return {
      pageView: 1,
    }
  },
  methods:{
    onChange(e) {
      console.log(`checked = ${e.target.value}`);
      this.pageView = e.target.value;
    },

    onSearch(value) {
      console.log(value);
    },
  }
};
</script>

<style scoped>

</style>